home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / c / gcc222-1.lha / LICENCE < prev    next >
Encoding:
Text File  |  1993-03-08  |  12.1 KB  |  252 lines

  1. GNU General Public License
  2. **************************
  3.  
  4.                         Version 1, February 1989
  5.  
  6.      Copyright (C) 1989 Free Software Foundation, Inc.
  7.      675 Mass Ave, Cambridge, MA 02139, USA
  8.  
  9.      Everyone is permitted to copy and distribute verbatim copies
  10.      of this license document, but changing it is not allowed.
  11.  
  12.  Preamble
  13. =========
  14.  
  15.   The license agreements of most software companies try to keep users
  16. at the mercy of those companies.  By contrast, our General Public
  17. License is intended to guarantee your freedom to share and change
  18. free software--to make sure the software is free for all its users.
  19. The General Public License applies to the Free Software Foundation's
  20. software and to any other program whose authors commit to using it.
  21. You can use it for your programs, too.
  22.  
  23.   When we speak of free software, we are referring to freedom, not
  24. price.  Specifically, the General Public License is designed to make
  25. sure that you have the freedom to give away or sell copies of free
  26. software, that you receive source code or can get it if you want it,
  27. that you can change the software or use pieces of it in new free
  28. programs; and that you know you can do these things.
  29.  
  30.   To protect your rights, we need to make restrictions that forbid
  31. anyone to deny you these rights or to ask you to surrender the rights.
  32. These restrictions translate to certain responsibilities for you if
  33. you distribute copies of the software, or if you modify it.
  34.  
  35.   For example, if you distribute copies of a such a program, whether
  36. gratis or for a fee, you must give the recipients all the rights that
  37. you have.  You must make sure that they, too, receive or can get the
  38. source code.  And you must tell them their rights.
  39.  
  40.   We protect your rights with two steps: (1) copyright the software,
  41. and (2) offer you this license which gives you legal permission to
  42. copy, distribute and/or modify the software.
  43.  
  44.   Also, for each author's protection and ours, we want to make certain
  45. that everyone understands that there is no warranty for this free
  46. software.  If the software is modified by someone else and passed on,
  47. we want its recipients to know that what they have is not the
  48. original, so that any problems introduced by others will not reflect
  49. on the original authors' reputations.
  50.  
  51.   The precise terms and conditions for copying, distribution and
  52. modification follow.
  53.  
  54.                           TERMS AND CONDITIONS
  55.  
  56.   1. This License Agreement applies to any program or other work
  57.      which contains a notice placed by the copyright holder saying it
  58.      may be distributed under the terms of this General Public
  59.      License.  The "Program", below, refers to any such program or
  60.      work, and a "work based on the Program" means either the Program
  61.      or any work containing the Program or a portion of it, either
  62.      verbatim or with modifications.  Each licensee is addressed as
  63.      "you".
  64.  
  65.   2. You may copy and distribute verbatim copies of the Program's
  66.      source code as you receive it, in any medium, provided that you
  67.      conspicuously and appropriately publish on each copy an
  68.      appropriate copyright notice and disclaimer of warranty; keep
  69.      intact all the notices that refer to this General Public License
  70.      and to the absence of any warranty; and give any other
  71.      recipients of the Program a copy of this General Public License
  72.      along with the Program.  You may charge a fee for the physical
  73.      act of transferring a copy.
  74.  
  75.   3. You may modify your copy or copies of the Program or any portion
  76.      of it, and copy and distribute such modifications under the
  77.      terms of Paragraph 1 above, provided that you also do the
  78.      following:
  79.  
  80.         * cause the modified files to carry prominent notices stating
  81.           that you changed the files and the date of any change; and
  82.  
  83.         * cause the whole of any work that you distribute or publish,
  84.           that in whole or in part contains the Program or any part
  85.           thereof, either with or without modifications, to be
  86.           licensed at no charge to all third parties under the terms
  87.           of this General Public License (except that you may choose
  88.           to grant warranty protection to some or all third parties,
  89.           at your option).
  90.  
  91.         * If the modified program normally reads commands
  92.           interactively when run, you must cause it, when started
  93.           running for such interactive use in the simplest and most
  94.           usual way, to print or display an announcement including an
  95.           appropriate copyright notice and a notice that there is no
  96.           warranty (or else, saying that you provide a warranty) and
  97.           that users may redistribute the program under these
  98.           conditions, and telling the user how to view a copy of this
  99.           General Public License.
  100.  
  101.         * You may charge a fee for the physical act of transferring a
  102.           copy, and you may at your option offer warranty protection
  103.           in exchange for a fee.
  104.  
  105.      Mere aggregation of another independent work with the Program
  106.      (or its derivative) on a volume of a storage or distribution
  107.      medium does not bring the other work under the scope of these
  108.      terms.
  109.  
  110.   4. You may copy and distribute the Program (or a portion or
  111.      derivative of it, under Paragraph 2) in object code or
  112.      executable form under the terms of Paragraphs 1 and 2 above
  113.      provided that you also do one of the following:
  114.  
  115.         * accompany it with the complete corresponding
  116.           machine-readable source code, which must be distributed
  117.           under the terms of Paragraphs 1 and 2 above; or,
  118.  
  119.         * accompany it with a written offer, valid for at least three
  120.           years, to give any third party free (except for a nominal
  121.           charge for the cost of distribution) a complete
  122.           machine-readable copy of the corresponding source code, to
  123.           be distributed under the terms of Paragraphs 1 and 2 above;
  124.           or,
  125.  
  126.         * accompany it with the information you received as to where
  127.           the corresponding source code may be obtained.  (This
  128.           alternative is allowed only for noncommercial distribution
  129.           and only if you received the program in object code or
  130.           executable form alone.)
  131.  
  132.      Source code for a work means the preferred form of the work for
  133.      making modifications to it.  For an executable file, complete
  134.      source code means all the source code for all modules it
  135.      contains; but, as a special exception, it need not include
  136.      source code for modules which are standard libraries that
  137.      accompany the operating system on which the executable file
  138.      runs, or for standard header files or definitions files that
  139.      accompany that operating system.
  140.  
  141.   5. You may not copy, modify, sublicense, distribute or transfer the
  142.      Program except as expressly provided under this General Public
  143.      License.  Any attempt otherwise to copy, modify, sublicense,
  144.      distribute or transfer the Program is void, and will
  145.      automatically terminate your rights to use the Program under
  146.      this License.  However, parties who have received copies, or
  147.      rights to use copies, from you under this General Public License
  148.      will not have their licenses terminated so long as such parties
  149.      remain in full compliance.
  150.  
  151.   6. By copying, distributing or modifying the Program (or any work
  152.      based on the Program) you indicate your acceptance of this
  153.      license to do so, and all its terms and conditions.
  154.  
  155.   7. Each time you redistribute the Program (or any work based on the
  156.      Program), the recipient automatically receives a license from
  157.      the original licensor to copy, distribute or modify the Program
  158.      subject to these terms and conditions.  You may not impose any
  159.      further restrictions on the recipients' exercise of the rights
  160.      granted herein.
  161.  
  162.   8. The Free Software Foundation may publish revised and/or new
  163.      versions of the General Public License from time to time.  Such
  164.      new versions will be similar in spirit to the present version,
  165.      but may differ in detail to address new problems or concerns.
  166.  
  167.      Each version is given a distinguishing version number.  If the
  168.      Program specifies a version number of the license which applies
  169.      to it and "any later version", you have the option of following
  170.      the terms and conditions either of that version or of any later
  171.      version published by the Free Software Foundation.  If the
  172.      Program does not specify a version number of the license, you
  173.      may choose any version ever published by the Free Software
  174.      Foundation.
  175.  
  176.   9. If you wish to incorporate parts of the Program into other free
  177.      programs whose distribution conditions are different, write to
  178.      the author to ask for permission.  For software which is
  179.      copyrighted by the Free Software Foundation, write to the Free
  180.      Software Foundation; we sometimes make exceptions for this.  Our
  181.      decision will be guided by the two goals of preserving the free
  182.      status of all derivatives of our free software and of promoting
  183.      the sharing and reuse of software generally.
  184.  
  185.                                    NO WARRANTY
  186.  
  187.  10. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
  188.      WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
  189.      LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  190.      HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
  191.      WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
  192.      BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  193.      AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
  194.      QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  195.      PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  196.      SERVICING, REPAIR OR CORRECTION.
  197.  
  198.  11. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  199.      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
  200.      MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
  201.      LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
  202.      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
  203.      INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS
  204.      OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  205.      YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH
  206.      ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
  207.      ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  208.  
  209.                       END OF TERMS AND CONDITIONS
  210.  
  211.  
  212.  
  213.  
  214. Conditions for Using Bison
  215. **************************
  216.  
  217. Bison grammars can be used only in programs that are free software.
  218. This is in contrast to what happens with the GNU C compiler and the
  219. other GNU programming tools.
  220.  
  221. The reason Bison is special is that the output of the Bison
  222. utility--the Bison parser file--contains a verbatim copy of a sizable
  223. piece of Bison, which is the code for the `yyparse' function.  (The
  224. actions from your grammar are inserted into this function at one
  225. point, but the rest of the function is not changed.)
  226.  
  227. As a result, the Bison parser file is covered by the same copying
  228. conditions that cover Bison itself and the rest of the GNU system:
  229. any program containing it has to be distributed under the standard
  230. GNU copying conditions.
  231.  
  232. Occasionally people who would like to use Bison to develop
  233. proprietary programs complain about this.
  234.  
  235. We don't particularly sympathize with their complaints.  The purpose
  236. of the GNU project is to promote the right to share software and the
  237. practice of sharing software; it is a means of changing society.  The
  238. people who complain are planning to be uncooperative toward the rest
  239. of the world; why should they deserve our help in doing so?
  240.  
  241. However, it's possible that a change in these conditions might
  242. encourage computer companies to use and distribute the GNU system.
  243. If so, then we might decide to change the terms on `yyparse' as a
  244. matter of the strategy of promoting the right to share.  Such a
  245. change would be irrevocable.  Since we stand by the copying
  246. permissions we have announced, we cannot withdraw them once given.
  247.  
  248. We mustn't make an irrevocable change hastily.  We have to wait until
  249. there is a complete GNU system and there has been time to learn how
  250. this issue affects its reception.
  251.  
  252.